package com.example.sunsg.okhttptest.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by sunsg on 16/3/9.
 */
public class SpotEditItemOtherInfo implements SpotEditItem.SpotEditItemInterface, Parcelable {
    private String date;
    public SpotEditItemOtherInfo() {
    }

    public SpotEditItemOtherInfo(String date) {
        this.date = date;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.date);
    }

    protected SpotEditItemOtherInfo(Parcel in) {
        this.date = in.readString();
    }

    public static final Parcelable.Creator<SpotEditItemOtherInfo> CREATOR = new Parcelable.Creator<SpotEditItemOtherInfo>() {
        public SpotEditItemOtherInfo createFromParcel(Parcel source) {
            return new SpotEditItemOtherInfo(source);
        }

        public SpotEditItemOtherInfo[] newArray(int size) {
            return new SpotEditItemOtherInfo[size];
        }
    };
}
